export const WarningData = {
	'claim': { // 业务预警 - 意向认领
		type: 'claim',
		icon: require('../../../imgs/tool/to-claim-tool.png'),
		pageUrl: 'ToClaimList',
		parames: { tCode: 'S' },
		cntName: "意向认领"
	},
	'qualification': { // 业务预警 - 资质到期
		type: 'qualification',
		icon: require('../../../imgs/tool/zzdq.png'),
		pageUrl: 'EnterpriseWarning',
		parames: { tabIndex: 0 },
		cntName: "资质到期"
	},
	'creditInfo': { // 业务预警 - 授信到期
		type: 'creditInfo',
		icon: require('../../../imgs/tool/sxdq.png'),
		pageUrl: 'EnterpriseWarning',
		parames: { tabIndex: 1 },
		cntName: "授信到期"
	},
	'orderInfo': { // 业务预警 - 订单逾期
		type: 'orderInfo',
		icon: require('../../../imgs/tool/ddyq.png'),
		pageUrl: 'CreditOrderWarning',
		parames: { warnType: 'orderInfo' },
		cntName: "订单逾期"
	},
	'auditing': { // 业务预警 - 审批中业务
		type: 'auditing',
		icon: require('../../../imgs/tool/spzyw.png'),
		pageUrl: 'ApprovingWarning',
		cntName: "业务待审批"
	},
	'customer': { // 商机客户
		type: 'customer',
		icon: require('../../../imgs/enterprise/tools-khsj.png'),
		pageUrl: 'OpportunityCustomers',
		cntName: "商机客户"
	},
	'salePrepay': { // 保证金（销）配款
		type: 'salePrepay',
		icon: require('../../../imgs/tool/salesDeposit.jpg'),
		pageUrl: 'SalesDeposit',
		cntName: "保证金超期"
	},
	'saleUncollected': { // 销售未收款
		type: 'saleUncollected',
		icon: require('../../../imgs/tool/uncollected.jpg'),
		pageUrl: 'SalesUncollected',
		cntName: "销售未收款"
	},
	'OfferApproveList': { // 业务预警 - 订单逾期
		type: 'OfferApproveList',
		icon: require('../../../imgs/tool/ddyq.png'),
		pageUrl: 'OfferApproveList',
		//parames: { warnType: 'orderInfo' },
		cntName: "报盘审批"
	}
}
export const ToolData = {
	'YXGL001': {
		type: 'YWDJ',
		cntName: '销售转单',
		icon: require('../../../imgs/tool/intention-tool.png'),
		pageUrl: 'TurnOrderList',
		parames: { orderType: 'S' }
	},
	'YXGL002': {
		type: 'YWDJ',
		cntName: '采购转单',
		icon: require('../../../imgs/tool/intention-tool-buy.png'),
		pageUrl: 'TurnOrderList',
		parames: { orderType: 'P' }
	},
	'OFFER001': {
		type: 'YWDJ',
		cntName: '采购报盘',
		icon: require('../../../imgs/tool/offerBuy.png'),
		pageUrl: 'OfferList',
		parames: { salesType: 'P' }
	},
	'OFFER002': {
		type: 'YWDJ',
		cntName: '销售报盘',
		icon: require('../../../imgs/tool/offerSale.png'),
		pageUrl: 'OfferList',
		parames: { salesType: 'S' }
	},
	'LON001': {
		type: 'YWDJ',
		cntName: '长约框架',
		icon: require('../../../imgs/tool/long-tool.png'),
		pageUrl: 'OrderListPage',
		parames: { pageType: 'LONG_FRAME' }
	},
	'JSFP001': {
		type: 'YWDJ',
		cntName: '结算发票',
		icon: require('../../../imgs/tool/jsfp-tool.png'),
		pageUrl: 'BillListPage',
	},
	'ZJZ001': {
		type: 'YWDJ',
		cntName: '客户资金',
		icon: require('../../../imgs/tool/khzj-tool.png'),
		pageUrl: 'clientFundsList',
	},
	'SCA001': {
		type: 'YWDJ',
		cntName: '发票扫描',
		icon: require('../../../imgs/tool/scan.png'),
		pageUrl: false,
		callBack: true
	},
	// '': {
	// 	type: 'KHZJ',
	// 	cntName: '客户账单',
	// 	icon: require('../../../imgs/tool/khzh-tool.png'),
	// 	pageUrl: null,
	// },
	// '': {
	// 	type: 'KHZJ',
	// 	cntName: '收款单列表',
	// 	icon: require('../../../imgs/tool/skd-tool.png'),
	// 	pageUrl: null,
	// },
	// '': {
	// 	type: 'KHZJ',
	// 	cntName: '资金台账',
	// 	icon: require('../../../imgs/tool/zjtz-tool.png'),
	// 	pageUrl: null,
	// },
	'PRI004': {
		type: 'PRICE',
		cntName: '价格提报',
		icon: require('../../../imgs/tool/jgtb-tool.png'),
		pageUrl: 'ToQuotePage',
	},
	'PRI002': {
		type: 'PRICE',
		cntName: '商品价格',
		icon: require('../../../imgs/tool/spjg-tool.png'),
		pageUrl: 'ProductPricePage',
	},
	'PRI003': {
		type: 'PRICE',
		cntName: '汇率价格',
		icon: require('../../../imgs/tool/hrjg-tool.png'),
		pageUrl: 'CurrencyPricePage',
	},
	'BIL000': {
		type: 'FKGL',
		cntName: '授信账单',
		icon: require('../../../imgs/tool/sxzd-tool.png'),
		pageUrl: 'BillPage',
		parames: { isSelect: true }
	},
	'RIS003': {
		type: 'FKGL',
		cntName: '授信占用',
		icon: require('../../../imgs/tool/sxzy-tool.png'),
		pageUrl: 'OccupyListPage',
	},
	'RIS001': {
		type: 'FKGL',
		cntName: '逾期评判',
		icon: require('../../../imgs/tool/yqpp-tool.png'),
		pageUrl: 'JudgementListPage',
	}
}
//报表数据
export const JournalingData = {
	'RBSX001': { key: 'overview', text: '概览', modifyBizType: 'OVERVIEW', modifyRecordsKey: 'overviewList' },
	'RBSX002': { key: 'occupation', text: '授信资金占用', modifyBizType: 'OCCUPATION', modifyRecordsKey: 'occupationList' },
	'RBSX003': { key: 'ranking', text: '占用企业排行', modifyBizType: 'RANKING', modifyRecordsKey: 'rankingList' },
	'RBSX004': { key: 'overdue', text: '授信逾期情况', modifyBizType: 'OVERDUE', modifyRecordsKey: 'overdueList' }
}
//销售日报
export const SellData = {
	'RBXS001': { key: 'stock', text: '库存成交情况', modifyBizType: 'STOCKREPORT', modifyRecordsKey: 'stockList' },
	'RBXS002': { key: 'price', text: '成交均价', modifyBizType: 'PRICEREPORT', modifyRecordsKey: 'priceList' }
}

//代办列表
export const taskListResUrl = {
	'BIZ_PLAN_COMPANY_AUDIT_TASK': {
		//pageUrl: 'OperatePlanApprovalListPage',
		pageUrl: 'PlanApproval',
		formKey: null,
		dictKey: "BIZ_PLAN_COMPANY_AUDIT_TASK",
		approveType: "",
		formKeyNew: "SIGNED",
		name: '经营计划审批'
	},
	'ORDER_APP_APPROVAL_TASK': {
		pageUrl: 'ApproveListPageNew',
		approveType: "O",
		dictKey: "ORDER_APP_APPROVAL_TASK",
		formKey: "",
		formKeyNew: "SIGNED",
		name: '订单成交报告审批任务'
	},
	'PRICE_SPOT_APPROVAL_TASK': {
		pageUrl: 'PriceApprovalPage',
		formKey: "",
		dictKey: "PRICE_SPOT_APPROVAL_TASK",
		approveType: "",
		formKeyNew: "SIGNED",
		name: '现货价审批任务'
	},
	// 'PLAN_DEMAND_APPROVAL_TASK': { 
	// 	pageUrl: 'RequirementPlanApprovalPage',
	// 	name: '客户需求计划审批任务'
	// },
	'ORDER_PAY_APPROVAL_TASK': {
		pageUrl: 'ApproveApplyList',
		fformKey: "",
		dictKey: "ORDER_PAY_APPROVAL_TASK",
		approveType: "P",
		formKeyNew: "SIGNED",
		name: "付款申请审批"
	},
	'COMPANY_CREDIT_APPROVAL_TASK': {
		pageUrl: 'ApproveListPage',
		formKey: "",
		dictKey: "COMPANY_CREDIT_APPROVAL_TASK",
		approveType: "C",
		formKeyNew: "SIGNED",
		name: "授信申请(授信申请审批)"
	},
	'ORDER_UPDATE_APPROVAL_TASK': {
		pageUrl: 'ApproveListPage',
		formKey: "",
		dictKey: "ORDER_UPDATE_APPROVAL_TASK",
		approveType: "A",
		formKeyNew: "SIGNED",
		name: "合同变更(订单变更审批)"
	},
	'LONG_ORDER_CHANGE_APPROVAL_TASK': {
		pageUrl: 'ApproveListPage',
		formKey: "",
		dictKey: "LONG_ORDER_CHANGE_APPROVAL_TASK",
		approveType: "LC",
		formKeyNew: "SIGNED",
		name: "长约框架变更审批"
	},
	'ZXY_ORDER_CHANGE_APPROVAL_TASK': {
		pageUrl: 'ApproveListPage',
		formKey: "",
		dictKey: "ZXY_ORDER_CHANGE_APPROVAL_TASK",
		approveType: "ZXYC",
		formKeyNew: "SIGNED",
		name: "中新油变更审批"
	},
	'QH_SALE_CANCEL_APPROVAL_TASK': {
		pageUrl: 'ApproveListPage',
		formKey: null,
		dictKey: "QH_SALE_CANCEL_APPROVAL_TASK",
		approveType: "QH",
		formKeyNew: "SIGNED",
		name: "泉化审批(作废待办)"
	},
	'ZXY_ORDER_APPROVAL_TASK': {
		pageUrl: 'SinoNewOilApproveListPage',
		formKey: null,
		dictKey: "ZXY_ORDER_APPROVAL_TASK",
		approveType: "1",
		formKeyNew: "SIGNED",
		name: "中新油审批(中新油)"
	},
	'APP_COMPANY_AUDIT_TASK': {
		pageUrl: 'EnterpriseListsPage',
		formKey: null,
		dictKey: "APP_COMPANY_AUDIT_TASK",
		approveType: "",
		formKeyNew: "SIGNED",
		name: '企业审批'
	},
	'COMPANY_STAFF_APPLY_TASK': {
		pageUrl: 'ClaimListPage',
		formKey: null,
		dictKey: "COMPANY_STAFF_APPLY_TASK",
		approveType: "",
		formKeyNew: "SIGNED",
		name: '企业认领审批'
	},
	'ORDER_CONTRACT_CHECK_TASK': {
		pageUrl: 'LawwApprovePage',
		formKey: null,
		dictKey: "ORDER_CONTRACT_CHECK_TASK",
		approveType: "",
		formKeyNew: "SIGNED",
		name: '双签待复核页面'
	},
	'ORDER_CONTRACT_WAIT_TASK': { //非标合同待审页面
		pageUrl: 'LawwApprovePage',
		formKey: null,
		dictKey: "ORDER_CONTRACT_WAIT_TASK",
		approveType: "",
		formKeyNew: "WAIT",
		name: '非标合同待审页面'
	},
	'APP_ORDER_PRE_AUDIT': { //订单预审待审页面
		pageUrl: 'preReviewList',
		name: '合同预审'
	},
	'ORDER_STOCK_NOTICE_CHECK_TASK': { //非标合同待审页面
		pageUrl: 'StockApproveListPage',
		name: '出入库通知复合'
	},
	'LONG_ORDER_APPROVAL_TASK': { //非标合同待审页面
		pageUrl: 'LongFramePage',
		dictKey: "LONG_ORDER_APPROVAL_TASK",
		name: '长约框架'
	},
	'COST_CONTRACT_APPROVAL_TASK': { //非标合同待审页面
		pageUrl: 'FeedContractPage',
		dictKey: "COST_CONTRACT_APPROVAL_TASK",
		name: '非业务合同'
	},
	'APP_BIZ_PRODUCT_AUDIT_TASK': { //非标合同待审页面
		pageUrl: 'GoodsListPage',
		dictKey: "APP_BIZ_PRODUCT_AUDIT_TASK",
		name: '产品审批'
	},
	'APP_CHEMIC_PACKAGE_APPLY_AUDIT_TASK': {
		pageUrl: 'OfferApproveList',
		dictKey: "APP_CHEMIC_PACKAGE_APPLY_AUDIT_TASK",
		name: '报盘申请'
	},
	'APP_STOCK_CHECK_AUDIT_TASK': {
		pageUrl: 'inventoryApprovalList',
		dictKey: "APP_STOCK_CHECK_AUDIT_TASK",
		name: '盘点审批'
	},
	'APP_PRICE_CONFIRM_AUDIT_TASK': {
		pageUrl: 'secondPriceList',
		dictKey: "APP_PRICE_CONFIRM_AUDIT_TASK",
		name: '二次认价'
	},
	'APP_ZXY_MERGE_XX_AUDIT_TASK': {
		pageUrl: 'newOilSellingList',
		dictKey: "APP_ZXY_MERGE_XX_AUDIT_TASK",
		name: '新油抛单'
	},
	'APP_ZXY_SAP_CANCEL_AUDIT_TASK': {
		pageUrl: 'SinoNewOilApproveListPage',
		formKey: null,
		dictKey: "APP_ZXY_SAP_CANCEL_AUDIT_TASK",
		approveType: "1",
		formKeyNew: "SIGNED",
		name: "新油撤单",
		isCancel: true,
	},
	'CRM_BID_ORDER_APPLY_TASK': {
		pageUrl: 'TransApprovalList',
		dictKey: "CRM_BID_ORDER_APPLY_TASK",
		name: "报盘成交申请",
	},
	'APP_QH_GUARANTEE_AUDIT_TASK': {
		pageUrl: 'QhPostponeListPage',
		dictKey: "APP_QH_GUARANTEE_AUDIT_TASK",
		name: "担保延期",
	},
	'APP_CC_REBATE_AUDIT_TASK': {
		pageUrl: 'RebateListPage',
		dictKey: "APP_CC_REBATE_AUDIT_TASK",
		name: "客户返利"
	}
};
/**
 * 订单成交报告审批任务 ORDER_APP_APPROVAL_TASK
 * 现货价审批任务 PRICE_SPOT_APPROVAL_TASK
 * 客户需求计划审批任务 PLAN_DEMAND_APPROVAL_TASK
 * 付款申请审批 ORDER_PAY_APPROVAL_TASK
 * 授信申请审批 COMPANY_CREDIT_APPROVAL_TASK
 * 订单变更审批 ORDER_UPDATE_APPROVAL_TASK
 * 泉化审批 QH_SALE_CANCEL_APPROVAL_TASK
 * 中新油 ZXY_ORDER_APPROVAL_TASK
 * 双签待复核页面 ORDER_CONTRACT_CHECK_TASK
 * 非标合同待审页面 ORDER_CONTRACT_WAIT_TASK
 * 经营计划审批 BIZ_PLAN_COMPANY_AUDIT_TASK
 * 企业认领审批 COMPANY_STAFF_APPLY_TASK
 */
